<?php session_start(); ?>
<html>
	<head>
		<title>Warehause - Authorize</title>
		<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen">
		<link rel="stylesheet" href="/css/gh-buttons.css" type="text/css" media="screen">
	</head>
	<body>
		<?php
			if (isset($_SESSION['user_id']))
			{
				echo "<a class='fixed_bottom_panel' href='private/login.php?logout'>Logout</a>";
			}
		?>
		<div id="wrapper">
			<div id="container">
				<h3>Please use your account for log in</h3>
				<form action="private/login.php" method="post">
					<table>
						<tr>
							<td>Login</td>
							<td><input type="text" name="login" /></td>
						</tr>
						<tr>
							<td>Password</td>
							<td><input type="password" name="password" /></td>
						</tr>
						<tr>
							<td>Remember me</td>
							<td><input type="checkbox" name="remember" /></td>
						</tr>
						<tr>
							<td colspan=2 style="text-align:center;">
								<div style="margin-top:20px;">
									<input type="submit" class="button icon user" value="Login" />
								</div>
							</td>
						</tr>
					</table>
				</form>
				</div>
			</div>
	</body>
</html>
